

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>

</title><link href='./home/css/etm.css' rel='stylesheet' type='text/css' /><!--[if IE 8]> <link href='/Themes/Theme3/ie8Fix.css' rel='stylesheet' /> <![endif]-->

    <script src="./home/js/WdatePicker.js"></script>
    <script src="./home/js/jquery-1.4.2.min.js"></script>
    <script src="./home/js/flexigrid.js"></script>
    <script src="./home/js/jQuery.Ex.js"></script>
    <script src="./home/js/jQuery.etmTabs.js"></script>
    <meta http-equiv="X-UA-Compatible" content="IE=11; IE=10; IE=9; IE=8; IE=7; IE=EDGE"/><script src='./home/js/jquery.nicescroll.min.js' type='text/javascript'></script><script type='text/javascript'>var isEtmClient=false;function ReSizeScrollbar() { if ($('form').getNiceScroll().length > 0) {     $('form').getNiceScroll().onResize();}}function ReSizeFlexgridScrollbar() { if ($('.bDiv').getNiceScroll().length > 0) {     $('.bDiv').getNiceScroll().onResize();}}function InitFlexgridScrollbar(){     $('.bDiv').niceScroll({cursorcolor: '#75A801',zindex:4});}function ReSizenDivScrollbar() { if ($('.flexigrid .nDiv').getNiceScroll().length > 0) {     $('.flexigrid .nDiv').getNiceScroll().onResize();}}function InitnDivScrollbar(){     $('.flexigrid .nDiv').niceScroll({cursorcolor: '#75A801',horizrailenabled:false});}function proxyExecuteFun(funName) {if(funName == undefined || funName==null|| funName.length==0){window.parent.showsending(true, "执行中，请耐心等待");setTimeout(function() { window.parent.showsending(false); }, 5000);return;}  if (window[funName]()) {window.parent.showsending(true, "执行中，请耐心等待");setTimeout(function() { window.parent.showsending(false); }, 5000);return true; } return false; };var _tmpOnSelectedFile = null;function onSelectedFile(fileName, fileUrl, isImg) {   if (_tmpOnSelectedFile != null) {        _tmpOnSelectedFile(fileName, fileUrl, isImg);    }}function showFileList(callback) {   window.parent.showDialog('查看素材库', '/Modules/OA/CMyFileListView.aspx?navId=9603214b-b1e4-4e1e-939b-3a5b91953c84', '900px', '450px');   _tmpOnSelectedFile = callback;}$(function () {if (navigator.userAgent.toLowerCase().indexOf('edge/') != -1) { $('input[type=submit],.tmpSubmitButton').bind({ mouseenter: function () { $(this).addClass('tmpSubmitButton'); $(this).prop('type', 'button'); }, mouseleave: function () { $(this).removeClass('tmpSubmitButton'); $(this).prop('type', 'submit'); }, click: function () { $(this).removeClass('tmpSubmitButton'); $(this).prop('type', 'submit'); } }); }if (window.parent != undefined && window.parent != null && typeof window.parent.showsending != "undefined") { window.parent.showsending(false, ''); }$(".button").each(function() { if ($(this).attr("type") == "submit" &&!$(this).hasClass('noloading') && window.parent != undefined && window.parent != null && typeof window.parent.showsending != "undefined") { var tmpClick = $(this).attr("onclick");if(tmpClick == undefined || tmpClick==null|| tmpClick.length<2){ $(this).attr("onclick","proxyExecuteFun();");return;}  if (tmpClick.indexOf("return ") != -1 && tmpClick.indexOf("(") != -1) { tmpClick = tmpClick.substring(7).replace(/\s+/g, ''); if (tmpClick.indexOf("()") != -1) { var funName = tmpClick.substring(0, tmpClick.indexOf("(")); $(this).attr("onclick","return proxyExecuteFun('" + funName + "');"); } } } });$('body').click(function() {     if (typeof parent.onChildPageClick !='undefined') {         parent.onChildPageClick();     }});     $('form').height($(window).height()-0).niceScroll({cursorcolor: '#75A801',horizrailenabled:false });     $(window).resize(function () {         ReSizeScrollbar();     });});</script>
    <script type="text/javascript">
        navId = '9603214b-b1e4-4e1e-939b-3a5b91953c84';
        function AddBankDeduction() {
            window.parent.showDialog("生成代扣单", "../Modules/Finance/BankDeductionEdit.aspx?sc=btn&navId=9603214b-b1e4-4e1e-939b-3a5b91953c84", "370px", "200px");
            return false;
        }
        function ShowInfo(BankdeductionGuid) {
            window.parent.showDialog("代扣单信息", "../Modules/Finance/BankDeductionInfo.aspx?BankdeductionGuid=" + BankdeductionGuid + "&navId=" + navId, "976px", "450px");
        }
        $(function () {
            $(".BankDeductionUnCheck").live("click", function () {
                if (confirm("确定要反审核吗？")) {
                    $.AjaxETM("Finance_BankDeductionUnCheck", { "BankDeductionGuid": $(this).attr("BankDeductionGuid") },
                        function (data) {
                            alert(data);
                        },
                         true, "text");
                }
            });
        });

        function Delete(BankDeductionGuid) {
            if (confirm("确定要删除吗？")) {
                $.AjaxETM("Finance_BankDeductionDelete", { "BankDeductionGuid": BankDeductionGuid },
                    function (data) {
                        alert(data);
                    },
                     true, "text");
            }
        }
        function BatchDel() {
            var guids = "";
            var count = 0;
            $("input[name='selectItem']:checkbox:checked").each(function () {
                guids += $(this).val() + ",";
                count += 1;
            });
            if (count == 0) {
                alert("请选择数据");
                return false;
            }

           var s = guids.substring(0, guids.length - 1);
            if (confirm("确定要删除吗？")) {
                $.AjaxETM("Finance_BankDeductionDelete_More", { "BankDeductionGuids": s },
                    function (data) {
                        alert(data);
                    },
                     true, "text");
            }
            return false;
        }

        function BatchUnCheck() {
            var guids = "";
            var count = 0;
            var isFlag = false;
            $("input[name='selectItem']:checkbox:checked").each(function () {
                guids += $(this).val() + ",";
                count += 1;
            });
            if (count == 0) {
                alert("请选择一条数据");
                return false;
            }
            var s = guids.substring(0, guids.length - 1);
            if (confirm("确定要反审核选中项吗？")) {
                $.AjaxETM("Finance_BankDeductionUnCheck_More", { "BankDeductionGuids": s },
                    function (data) {
                        alert(data);
                    },
                     true, "text");
            }
            return false;
        }
        function CheckMore() {
            var guids = "";
            var count = 0;
            var isFlag = false;
            $("input[name='selectItem']:checkbox:checked").each(function () {
                guids += $(this).val() + ",";
                count += 1;
            });
            if (count == 0) {
                alert("请选择一条数据");
                return false;
            }

            var s = guids.substring(0, guids.length - 1);
            window.parent.showDialog("批量审核", "../Modules/Finance/BankDeductionMoreCheck.aspx?sc=btn&navId=9603214b-b1e4-4e1e-939b-3a5b91953c84&BankDeductionGuid=" + s, "700px", "250px");


            return false;
        }
        function Export(BankDeductionGuid) {
            $("#hfExportData").val(BankDeductionGuid);
            $("#btnExport").click();
        }

    </script>
</head>
<body>
    <form method="post" action="BankDeductionList.aspx?navId=9603214b-b1e4-4e1e-939b-3a5b91953c84" id="form1">
<div class="aspNetHidden">
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwULLTEzMTQxMjYwODcPZBYCAgMPZBYCZg8QZBAVCAnor7fpgInmi6kJ5pyq5a6h5qC4CeW3suWuoeaguA/lrqHmoLjkuI3pgJrov4cM5Luj5omj5oiQ5YqfD+S7o+aJo+S4jemAmui/hwnlrqHmoLjkuK0P5Luj5omj5a+56LSm5LitFQgCLTEBMAExATIBMwE0ATUBNhQrAwhnZ2dnZ2dnZ2RkZPdJ88tXM1bqqEgEnf+oc1fqngZdWolK/hAjr3rsNjdr" />
</div>

<div class="aspNetHidden">

	<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="B49EA858" />
	<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEdAA4c3qR2pU51EXYT2RANquKpAGC6JD3kCfW5Uo3QV8QfNs8foUNn5xuI8xiqh9enYIJq2RRjQP2mz57766Jx5Gbh7XgFxbqWwz5uIcUfpCoMFUDFEiP6wlqb8zH5wiWqZ779Wh6X1WxbddPwK7srWgF9EkgouPFSsqtzopdu8oAyfqh8jcniTVWZicgjUuRLfDNMLgIaeXU1JedLallfUfz2k1xC2cq1vfWES1tPptYn343MLHKHDBvI1Plg+EVwXh420eK77DGr/pO8r5k2XaJLavDSflAS9b8PVcR1BxTTBpgpXvjtfHFxU3psZ4PjUCSZlFRrX1ylyHMnhmSHevt5" />
</div>
         <table class="search">
            <tr>
                <td class="textAlignRight" style="width: 80px;">收费月份：
                </td>
                <td class="borderRight" style="width: 90px;">
                    <input type="text" class="int" id="txtMonths" name="txtMonths" style="width: 70px;" onfocus="WdatePicker({dateFmt:'yyyy-MM'})" />
                </td>
                 <td class="textAlignRight" style="width: 54px;">状态：</td>
                <td class="borderRight" style="width: 92px;">
                    <select name="ddlDoStatus" id="ddlDoStatus" class="int" style="width:74px;">
	<option value="-1">请选择</option>
	<option value="0">未审核</option>
	<option value="1">已审核</option>
	<option value="2">审核不通过</option>
	<option value="3">代扣成功</option>
	<option value="4">代扣不通过</option>
	<option value="5">审核中</option>
	<option value="6">代扣对账中</option>

</select>
                </td>
                <td style="padding-left: 20px;">
                  
                    <input type="hidden" name="hfExportData" id="hfExportData" />
                    <input type="button" id="btnSearch" class="button" value="搜 索" />
                  
                </td>
            </tr>
        </table>
        <table id='Test' style='display:none;'></table><input type='text' style='display:none;' id='etmparams' name='etmparams' value='[{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":null,"Display":"","Name":"BankDeductionGuid","Width":35,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"Center","Checkbox":true,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":"DoStatus","IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":"BankDeductionAct","Display":"操作","Name":"BankDeductionGuid,9603214b-b1e4-4e1e-939b-3a5b91953c84,DoStatus","Width":255,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"Center","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":null,"Display":"代扣单号","Name":"BillNo","Width":120,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"Center","Checkbox":false,"IsLink":true,"LinkStrForamtBindColumn":"BankDeductionGuid","LinkStrForamt":"javascript:ShowInfo(\"{0}\")","LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":null,"Display":"收费月份","Name":"Months","Width":100,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"Center","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":null,"Display":"金额（元）","Name":"Amount","Width":100,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"right","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":null,"Display":"状态","Name":"DoStatus","Width":100,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"Center","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":null,"Display":"生成人员","Name":"CreatorName","Width":100,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"Center","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":"yyyy-MM-dd HH:mm","ColumnType":"DateTime","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":null,"Display":"生成时间","Name":"CreateTime","Width":120,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"Center","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false}]'/><input type='text' style='display:none;' id='etmUrlparams' name='etmUrlparams' value='[{"Key":"navId","Value":"9603214b-b1e4-4e1e-939b-3a5b91953c84"}]'/><input type='text' style='display:none;' id='etmPageUrl' name='etmPageUrl' value='http://vip.yj.etmcn.com/Modules/Finance/BankDeductionList.aspx?navId=9603214b-b1e4-4e1e-939b-3a5b91953c84'/><input type='text' style='display:none;' id='pagename' name='pagename' value='Finance_BankDeductionList'/><input type='text' style='display:none;' id='pageamethod' name='pageamethod' value='Finance_BankDeductionListFinance_BankDeductionList'/><script type='text/javascript'> var etmFormId='form1';function fixIE9() {if ($.browser.msie && $.browser.version == 9) {$('#form1 select').each(function () {var name = $(this).attr('name');if (name != undefined && name.length > 0) {var value = $(this).val();if (value == null) {value = $(this).find('option:first').attr('value');$(this).val(value);}}});}}function RefreshGrid(){ $('#Test').flexOptions().flexReload(); };function addFormData() {fixIE9(); var dt = $('#form1').serializeArray(); $('#Test').flexOptions({ params: dt }); return true; }$(function () { $('#btnSearch').click(function () { $('#Test').flexOptions({ newp: 1 }).flexReload(); return false; }); });$('#Test').flexigrid({url: './data/dkdgl.json',sortname: 'BillNo',sortorder: 'desc',usepager: true,useRp: true,rpOptions: [20,30,50,100,200],rp: 30,colModel: [{ display: '', name: 'BankDeductionGuid',etmname:'BankDeductionGuid', width: 35, sortable: false, align: 'Center', checkbox: true ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '操作', name: 'BankDeductionGuid,9603214b-b1e4-4e1e-939b-3a5b91953c84,DoStatus',etmname:'BankDeductionAct', width: 255, sortable: false, align: 'Center', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '代扣单号', name: 'BillNo',etmname:'BillNo', width: 120, sortable: false, align: 'Center', checkbox: false ,IsLink:true,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '收费月份', name: 'Months',etmname:'Months', width: 100, sortable: false, align: 'Center', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '金额（元）', name: 'Amount',etmname:'Amount', width: 100, sortable: false, align: 'right', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '状态', name: 'DoStatus',etmname:'DoStatus', width: 100, sortable: false, align: 'Center', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '生成人员', name: 'CreatorName',etmname:'CreatorName', width: 100, sortable: false, align: 'Center', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '生成时间', name: 'CreateTime',etmname:'CreateTime', width: 120, sortable: false, align: 'Center', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'yyyy-MM-dd HH:mm',ColumnType:'DateTime',IsJsAddColumn:false}],width: $(window).width(),height: $(window).height()-210+60,onSubmit: addFormData});</script><div style="margin-left: 20px;">   <input type="submit" name="btnAdd" value="生成代扣单" onclick="return AddBankDeduction();" id="btnAdd" class="button" /> &nbsp;&nbsp;<input type="submit" name="btnMoreUnCheck" value="批量反审核" onclick="return BatchUnCheck();" id="btnMoreUnCheck" class="button" />&nbsp;&nbsp;
                    <input type="submit" name="btnBatchDel" value="批量删除" onclick="return BatchDel();" id="btnBatchDel" class="button" />&nbsp;&nbsp;
                      <input type="submit" name="btnExport" value="" id="btnExport" class="hidden" /></div>
    </form>
</body>
</html>
